package com.woniuxy.mesboot.service;

import com.woniuxy.mesboot.dto.OrdersDTO;
import com.woniuxy.mesboot.dto.OrdersDetailsDTO;
import com.woniuxy.mesboot.entity.MesOrders;
import com.woniuxy.mesboot.vo.OrdersDetailsVO;
import com.woniuxy.mesboot.vo.OrdersTicketVO;
import com.woniuxy.mesboot.vo.OrdersVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : 黑川
 * @version : 1.0
 * @Project : mes-boot
 * @Package : com.woniuxy.mesboot.service
 * @ClassName : .java
 * @createTime : 2023/5/23 17:39
 * @Description :
 */
public interface OrderService {
    OrdersTicketVO selectOrderTickets(String ordersNo);

    List<OrdersDetailsVO> selectAllByDetails(String ordersNo);

    List<OrdersVO> selectAll(OrdersDTO orders);

    int deleteByPrimaryKey(String ordersNo);

    int insert(MesOrders record);

    int insertSelective(OrdersDetailsDTO detailsDTO);

    MesOrders selectByPrimaryKey(String ordersNo);

    int updateByPrimaryKeySelective(MesOrders record);

    int updateByPrimaryKey(MesOrders record);
}
